GET data/{name}/{recordId}
Gets a record using the default section layout.
Request Information
URI
https://scoregroup-uat-api.xaitcpq.net/data/{name}/{recordId}?fields[0]={fields[0]}&fields[1]={fields[1]}&share={share}
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
name |
Page name. |
string |
Required |
recordId |
Record Identifier. |
string |
Required |
fields |
Fields to include |
Collection of string |
Required |
share |
Optional share parameter |
globally unique identifier |
None. |
Body Parameters
None.
Response Information
Resource Description
Section Data.
SectionDataName | Description | Type | Additional information |
---|---|---|---|
Section | string |
None. |
|
Locked | boolean |
None. |
|
CurrencyField | globally unique identifier |
None. |
|
Data | Collection of DataValue |
None. |
Response Formats
application/json, text/json
Sample:
{ "Section": "sample string 1", "Locked": true, "CurrencyField": "b28f1fdd-b9fa-4312-9a9b-99dd7a22ab5b", "Data": [ { "Field": "91ae9fdb-8d1b-44c9-91be-45c4d8d1448b", "SectionField": "f8163d29-aae0-4f9a-a39b-e15618adba27", "FieldName": "sample string 3", "Locked": true, "Component": "sample string 5", "Value": {}, "HumanReadableValue": {} }, { "Field": "91ae9fdb-8d1b-44c9-91be-45c4d8d1448b", "SectionField": "f8163d29-aae0-4f9a-a39b-e15618adba27", "FieldName": "sample string 3", "Locked": true, "Component": "sample string 5", "Value": {}, "HumanReadableValue": {} } ] }
text/html
Sample:
{"Section":"sample string 1","Locked":true,"CurrencyField":"b28f1fdd-b9fa-4312-9a9b-99dd7a22ab5b","Data":[{"Field":"91ae9fdb-8d1b-44c9-91be-45c4d8d1448b","SectionField":"f8163d29-aae0-4f9a-a39b-e15618adba27","FieldName":"sample string 3","Locked":true,"Component":"sample string 5","Value":{},"HumanReadableValue":{}},{"Field":"91ae9fdb-8d1b-44c9-91be-45c4d8d1448b","SectionField":"f8163d29-aae0-4f9a-a39b-e15618adba27","FieldName":"sample string 3","Locked":true,"Component":"sample string 5","Value":{},"HumanReadableValue":{}}]}
application/xml, text/xml
Sample:
<SectionData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shared.Models.DataModels"> <CurrencyField>b28f1fdd-b9fa-4312-9a9b-99dd7a22ab5b</CurrencyField> <Data> <DataValue> <Component>sample string 5</Component> <Field>91ae9fdb-8d1b-44c9-91be-45c4d8d1448b</Field> <FieldName>sample string 3</FieldName> <HumanReadableValue /> <Locked>true</Locked> <SectionField>f8163d29-aae0-4f9a-a39b-e15618adba27</SectionField> <Value /> </DataValue> <DataValue> <Component>sample string 5</Component> <Field>91ae9fdb-8d1b-44c9-91be-45c4d8d1448b</Field> <FieldName>sample string 3</FieldName> <HumanReadableValue /> <Locked>true</Locked> <SectionField>f8163d29-aae0-4f9a-a39b-e15618adba27</SectionField> <Value /> </DataValue> </Data> <Locked>true</Locked> <Section>sample string 1</Section> </SectionData>